package com.lbd99.data.lbd.service;

import com.lbd99.data.lbd.dao.XDepartmentYearMapper;
import com.lbd99.data.lbd.vo.XDepartmentYear;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class XDepartmentYearService {
    @Autowired
    private XDepartmentYearMapper xDepartmentYearMapper;

    public List<XDepartmentYear> selectList(Integer departmentId) {
        XDepartmentYear bean=new XDepartmentYear();
        bean.setDepartmentId(departmentId);
        return xDepartmentYearMapper.selectList(bean);
    }
}